<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录成功</title>
</head>
<body>
<h2>登录成功！</h2>
<%
    // 获取传递过来的用户名
    String username = request.getParameter("username");
%>
<p>欢迎您，<strong><%= username %>
</strong>！</p>
<p>您已成功登录系统。</p>
<hr>
<a href="login.jsp">返回登录页面</a>
</body>
</html>